﻿package src.uipackage.ui.graphics {
	
	import flash.display.Bitmap;
	import flash.display.BitmapData;
	import flash.filters.DropShadowFilter;
	
	/**
	* Creates cursor graphic for OBO_EyeDropper class.
	* @author Devon O.
	*/

	public class EyeDropperGraphic extends Bitmap {
		
		public function EyeDropperGraphic():void {
			
			var bmd:BitmapData = new BitmapData(16, 16, true, 0x00FFFFFF);
			bmd.setPixel32(0, 14, 0xFF000000);
			bmd.setPixel32(1, 15, 0xFF000000);
			bmd.setPixel32(2, 14, 0xFF000000);
			bmd.setPixel32(3, 14, 0xFF000000);
			bmd.setPixel32(4, 13, 0xFF000000);
			bmd.setPixel32(5, 12, 0xFF000000);
			bmd.setPixel32(6, 11, 0xFF000000);
			bmd.setPixel32(7, 10, 0xFF000000);
			bmd.setPixel32(8, 9, 0xFF000000);
			bmd.setPixel32(9, 8, 0xFF000000);
			bmd.setPixel32(10, 7, 0xFF000000);
			bmd.setPixel32(11, 6, 0xFF000000);
			bmd.setPixel32(12, 7, 0xFF000000);
			bmd.setPixel32(12, 6, 0xFF000000);
			bmd.setPixel32(12, 5, 0xFF000000);
			bmd.setPixel32(12, 4, 0xFF000000);
			bmd.setPixel32(13, 4, 0xFF000000);
			bmd.setPixel32(14, 4, 0xFF000000);
			bmd.setPixel32(15, 3, 0xFF000000);
			bmd.setPixel32(15, 2, 0xFF000000);
			bmd.setPixel32(15, 1, 0xFF000000);
			bmd.setPixel32(14, 0, 0xFF000000);
			bmd.setPixel32(13, 0, 0xFF000000);
			bmd.setPixel32(12, 0, 0xFF000000);
			bmd.setPixel32(11, 1, 0xFF000000);
			bmd.setPixel32(11, 2, 0xFF000000);
			bmd.setPixel32(11, 3, 0xFF000000);
			bmd.setPixel32(10, 3, 0xFF000000);
			bmd.setPixel32(9, 3, 0xFF000000);
			bmd.setPixel32(8, 3, 0xFF000000);
			bmd.setPixel32(9, 4, 0xFF000000);
			bmd.setPixel32(8, 5, 0xFF000000);
			bmd.setPixel32(7, 6, 0xFF000000);
			bmd.setPixel32(6, 7, 0xFF000000);
			bmd.setPixel32(5, 8, 0xFF000000);
			bmd.setPixel32(4, 9, 0xFF000000);
			bmd.setPixel32(3, 10, 0xFF000000);
			bmd.setPixel32(2, 11, 0xFF000000);
			bmd.setPixel32(1, 12, 0xFF000000);
			bmd.setPixel32(1, 13, 0xFF000000);
			bmd.setPixel32(10, 5, 0xFF000000);
			bmd.setPixel32(10, 4, 0xFF000000);
			bmd.setPixel32(11, 4, 0xFF000000);
			bmd.setPixel32(11, 5, 0xFF000000);
			
			bmd.setPixel32(12, 1, 0xFF000000);
			bmd.setPixel32(13, 1, 0xFF000000);
			bmd.setPixel32(14, 1, 0xFF000000);
			bmd.setPixel32(12, 2, 0xFF000000);
			bmd.setPixel32(13, 2, 0xFF000000);
			bmd.setPixel32(14, 2, 0xFF000000);
			bmd.setPixel32(12, 3, 0xFF000000);
			bmd.setPixel32(13, 3, 0xFF000000);
			bmd.setPixel32(14, 3, 0xFF000000);
			
			bmd.setPixel32(1, 14, 0xFFFFFFFF);
			bmd.setPixel32(2, 12, 0xFFFFFFFF);
			bmd.setPixel32(3, 11, 0xFFFFFFFF);
			bmd.setPixel32(4, 10, 0xFFFFFFFF);
			bmd.setPixel32(5, 9, 0xFFFFFFFF);
			bmd.setPixel32(6, 8, 0xFFFFFFFF);
			bmd.setPixel32(7, 7, 0xFFFFFFFF);
			bmd.setPixel32(8, 6, 0xFFFFFFFF);
			bmd.setPixel32(9, 5, 0xFFFFFFFF);
			
			bmd.setPixel32(2, 13, 0xFFFFFFFF);
			bmd.setPixel32(3, 12, 0xFFFFFFFF);
			bmd.setPixel32(4, 11, 0xFFFFFFFF);
			bmd.setPixel32(5, 10, 0xFFFFFFFF);
			bmd.setPixel32(6, 9, 0xFFFFFFFF);
			bmd.setPixel32(7, 8, 0xFFFFFFFF);
			bmd.setPixel32(8, 7, 0xFFFFFFFF);
			bmd.setPixel32(9, 6, 0xFFFFFFFF);
			
			bmd.setPixel32(3, 13, 0xFFFFFFFF);
			bmd.setPixel32(4, 12, 0xFFFFFFFF);
			bmd.setPixel32(5, 11, 0xFFFFFFFF);
			bmd.setPixel32(6, 10, 0xFFFFFFFF);
			bmd.setPixel32(7, 9, 0xFFFFFFFF);
			bmd.setPixel32(8, 8, 0xFFFFFFFF);
			bmd.setPixel32(9, 7, 0xFFFFFFFF);
			bmd.setPixel32(10, 6, 0xFFFFFFFF);
			
			
			bitmapData = bmd;
			
			filters = [ new DropShadowFilter(2, 45, 0x000000, .6, 3, 3) ];
		}
	}
	
}